<?php

   /**
   *  file:           index.php <= consumermanagement.php
   *
   *  author:         chrisv
   *
   *  function:       gives user a list of HBC consumers at
   *                  various relocation stages.
   *
   *  dependencies:   datbase connection file, image files for
   *                  presentation and layout.
   *
   *  updated:        September 4th, 2007
   *
   *  notes:          used to run consumer management functions
   *                  on LOCALHOST using XAMPP.  
   *                  
   *                 
   **/
   
   //get your hbc database connection
   include "./db_connect.php";
   

   //DATASET QUERIES TO POPULATE THE FORM
   

   /*---------------------------------------
   
   [1.]
   GET SERVICE REQUESTED CONSUMER RECORDS
   
   -----------------------------------------*/
   
   $select_consumers1 = "SELECT *
                        FROM hbc_consumers
                        WHERE consumer_status='service requested'";
                        
   /* HOLDS SERVICE REQUESTED consumer data */                 
   $consumer_service_requested = mysql_query($select_consumers1) or die(mysql_error());
   


   /*---------------------------------------
   
   [2.]
   GET ASSESSED CONSUMER RECORDS

   -----------------------------------------*/
   
   $select_consumers2 = "SELECT *
                        FROM hbc_consumers
                        WHERE consumer_status='assessed'";
                        
   /* HOLDS ASSESSED consumer data */                 
   $consumer_assessments = mysql_query($select_consumers2) or die(mysql_error());



   /*---------------------------------------
   
   [3.]
   GET REASSESSED CONSUMER RECORDS

   ----------------------------------------*/

   $select_consumers3 = "SELECT *
                        FROM hbc_consumers
                        WHERE consumer_status='reassessed'";
                        
   /* HOLDS REASSESSED consumer data */                 
   $consumer_reassessments = mysql_query($select_consumers3) or die(mysql_error());
   


   /*------------------------------------------
   
   [4.]   
   GET RELOCATION PLANNED CONSUMER RECORDS
   
   --------------------------------------------*/
   
   $select_consumers4 = "SELECT *
                        FROM hbc_consumers
                        WHERE consumer_status='relocation planned'";
                        
   /* HOLDS RELOCATION PLANNED consumer data */                 
   $consumer_relocations_planned = mysql_query($select_consumers4) or die(mysql_error());
   

   
   /*-------------------------------------------
   
   [5.] 
   GET RELOCATIONS COMPLETED CONSUMER RECORDS

   ---------------------------------------------*/

   $select_consumers5 = "SELECT *
                        FROM hbc_consumers
                        WHERE consumer_status='relocation completed'";
                        
   /* HOLDS RELOCATIONS COMPLETED consumer data */                 
   $consumer_relocations_completed = mysql_query($select_consumers5) or die(mysql_error());



   /*------------------------------------------
   
   [6.]
   GET FOLLOWUP CONSUMER RECORDS

   --------------------------------------------*/

   $select_consumers6 = "SELECT *
                        FROM hbc_consumers
                        WHERE consumer_status='follow up'";
                        
   /* HOLDS FOLLOWUP consumer data */                 
   $consumer_followup = mysql_query($select_consumers6) or die(mysql_error());
   

   /*------------------------------------------
   
   [7.]
   GET NOT_IN_HBC CONSUMER RECORDS

   --------------------------------------------*/

   $select_consumers7 = "SELECT *
                        FROM hbc_consumers
                        WHERE consumer_status='no longer in HBC'";
                        
   /* HOLDS NOT IN HBC consumer data */                 
   $consumer_not_in_hbc = mysql_query($select_consumers7) or die(mysql_error());
   
?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 STRICT//EN" 
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta name="author" content="nickadeemus2002 (www.addictedtocoding.us)" />
	<meta http-equiv="content-type" content="text/html;charset=iso-8859-2" />
	<link rel="stylesheet" href="images/style.css" type="text/css" />
	<title>Home By Choice Consumer Management Application</title>
   <meta http-equiv="CACHE-CONTROL" content="NO-CACHE"> 
   <meta http-equiv="PRAGMA" content="NO-CACHE">
   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
   
   <!-- STYLE RULES -->
   <style type="text/css">
   
	#control_panel_banner{
           font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 32px;
           font-weight: bold;
           color: #7B67AA; 
           text-align: center;
           border-top: 1px dashed #674495;
           border-bottom: 1px dashed #674495;
           background-color: #FFBB62; 
        }

	h2{
           font-family: Verdana, Helvetica, Arial, sans-serif;
           color: #7B67AA; 
           /* border-top: 1px dashed #674495;
           border-bottom: 1px dashed #674495; */
           background-color: #FFFF9D;
           padding: 10px 0px 10px 0px;
        }	

   </style>

</head>
<body>
<div class="content">
	
	   <!-- BEGIN HEADER RIGHT -->
		<div class="header_right">
      	
         <!-- Top Info LOG IN -->
         <!--	
			<div class="top_info">
				<div class="top_info_right">
					<p><b>You are not Logged in!</b> &nbsp;&nbsp; &nbsp;&nbsp; Please <a href="#">LOG IN</a> to
               start managing files consumer files.</p>					
				</div>
			</div>
		 -->
		 <!-- END TOP INFO -->
					
		<!-- Navigation Bar -->
		<!--
      	<div class="bar">
				<ul>
					<li><a href="./index.php" title="Return to Main Page" accesskey="h">Home</a></li>
					<li class="active">HBC File Management</li>
					<li><a href="./maps.php" title="Click here to view Nursing Facility and Relocated Consumer information" accesskey="m">HBC Maps</li>
					<li><a href="./forms.php" title="Download HBC Forms" accesskey="f">HBC Forms</a></li>
					<li><a href="./../pligg/" title="Share information about relocation activities in Texas"accesskey="n">Relocation News</a></li>
				
				</ul>
			</div>
			<!-- END BAR -->
	    <!--			
		</div>
		<!-- END HEADER RIGHT -->

        <!--
		<div class="logo">
			<h1><a href="#" title="Welcome to the Home By Choice Consumer App!">Home
             <span class="red">By Choice</span>
             </a>
         </h1>
		   <p>Project Information and Consumer Updates</p>
		</div>

		
		<div class="search_field">
			<form method="post" action="?">
				<p><span class="search">Search Box</span>&nbsp;&nbsp; 
               <input type="text" name="search" class="search" /> 
               <input type="submit" value="Find It!" class="button" /></p>
			</form>
		</div>
        -->
		
		<div class="newsletter">
			<p><strong><u>DADS REGIONS 4 , 5 & 7:</u></strong><br />ARCIL.CRCIL.ETCIL.HOCTIL.RISE</p>
		</div>

		
		<div class="subheader">
			<h1>HBC Consumer Overview:</h1>
			<p>Here is information about consumers at various stages of relocation. You may
            also add new consumer files or edit/update existing files.</p>
		</div>
</div>


<!-- FOR ARCIL -->
<div class="content">
   <table align="center" border="0px" cellpadding="0px" cellspacing="0px" width="760px">
      <tbody>
        <tr>
          <td>
	           <table border="0px" cellpadding="0px" cellspacing="0px" width="10px">
                  <tbody>
	               <tr>
              	      <td>
                	       <table border="0" cellpadding="10" cellspacing="0" width="760">

		          		       <form name="hbc_consumer_data" method="get" action="" >
		             		       <tbody>
	                         	
	                         	
	                         	   <!-- SHOW CONSUMER STATUS TABLES -->
	  
	                         	
	                         	
	                         	
                                <!-- [1.] SERVICE REQUEST TABLE -->
                                <tr>
				   					      <td align="center" bgcolor="#EEEEEE">
				      					      
                                       <h2>Services Requested:</h2>
				         				
                                       <table cellpadding="5" cellspacing="0" border="1" width="100%" bordercolor="#ffffff" >
                                            <tr>
                                            	   <td  align="center"><strong>Fullname</strong></td>
					       					  	         <td  align="center"><strong>Consumer ID</strong></td>
					       						         <td  align="center"><strong>Date Service Requested</strong></td>
   				               					   <td  align="center"><strong>Nursing Facility</strong></td>
					       						         <td  align="center"><strong>Assigned Coordinator</strong></td>
					    					           </tr>

					    					
                                            <?php //GET SERVICE REQUESTED CONSUMER DATA
                                              
                                             while($service_requested_consumer_info = mysql_fetch_array($consumer_service_requested)){
   
                                                  	   $service_request_consumer_id                =$service_requested_consumer_info['consumer_id'];
                                                      $service_request_consumer_fullname          =$service_requested_consumer_info['consumer_fullname'];
                                                      $service_request_consumer_date              =$service_requested_consumer_info['consumer_date'];
                                                      $service_request_consumer_nursing_facility  =$service_requested_consumer_info['consumer_nursing_facility'];
                                                      $service_request_consumer_coordinator       =$service_requested_consumer_info['consumer_coordinator']; 
                                             ?>									      
                                             <tr>
                                             
                                                <td align="center">
                                                   <a href="show_profile.php?consumer_id=<?=$service_request_consumer_id?>">
                                                        <?=$service_request_consumer_fullname?>
                                                   </a>
                                                </td>
                                                
                                                <td class="style1" align="center" height="20px">
                                                   <?=$service_request_consumer_id?>
                                                </td>
                                                
					        					            <td class="style1" align="center" height="20px">
                                                   <?echo $service_request_consumer_date?>
                                                </td>
                                                
                                                <td class="style1" align="center" height="20px">
                                                   <?=$service_request_consumer_nursing_facility?>
                                                </td>
                                                
                                                <td class="style1" align="center" height="20px">
                                                  <?=$service_request_consumer_coordinator?>
                                                </td>										
					     					            </tr>
					     					
                                           <?php
                                            }   //END SERVICE REQUEST DATABASE FETCH
                                           ?>
				       					     </table>
				    				         </td>
								       </tr> 
                               <tr>
                                   <td bgcolor="#FFFFFF">&nbsp;</td>
                                </tr>
	                         	 
			                  
                            
                                
                                     
                                <!-- [2.]  INITIAL ASSESSMENTS TABLE -->
                                <tr>
				   					      <td align="center" bgcolor="#EEEEEE">
				      					
                                       <h2>Initial Assessments:</h2>
				         				
                                       <table cellpadding="5" cellspacing="0" border="1" width="100%" bordercolor="#ffffff" >
                                          <tr>
                                            	<td  align="center"><strong>Fullname</strong></td>
					       					  	      <td  align="center"><strong>Consumer ID</strong></td>
					       						      <td  align="center"><strong>Date Taken</strong></td>
   				               					<td  align="center"><strong>Nursing Facility</strong></td>
					       						      <td  align="center"><strong>Assigned Coordinator</strong></td>
					    					         </tr>

					    					
                                         <?php //GET ASSESSED CONSUMER DATA
                                              
                                           while($assessed_consumer_info = mysql_fetch_array($consumer_assessments)){
   
                                            	   $assessed_consumer_id                =$assessed_consumer_info['consumer_id'];
                                                $assessed_consumer_fullname          =$assessed_consumer_info['consumer_fullname'];
                                                $assessed_consumer_date              =$assessed_consumer_info['consumer_date'];
                                                $assessed_consumer_nursing_facility  =$assessed_consumer_info['consumer_nursing_facility'];
                                                $assessed_consumer_coordinator       =$assessed_consumer_info['consumer_coordinator']; 
                                          ?>									      
                                             <tr>
                                                <td align="center">
                                                   <a href="show_profile.php?consumer_id=<?=$assessed_consumer_id?>">
                                                        <?=$assessed_consumer_fullname?>
                                                   </a>
                                                </td>
                                                
                                                <td class="style1" align="center" height="20px">
                                                   <?=$assessed_consumer_id?>
                                                </td>
                                                
					        					            <td class="style1" align="center" height="20px">
                                                   <?echo $assessed_consumer_date?>
                                                </td>
                                                
                                                <td class="style1" align="center" height="20px">
                                                   <?=$assessed_consumer_nursing_facility?>
                                                </td>
                                                
                                                <td class="style1" align="center" height="20px">
                                                  <?=$assessed_consumer_coordinator?>
                                                </td>										
					     					            </tr>
					     					
                                           <?php
                                            }   //END ASSESSED DATABASE FETCH
                                           ?>
				       					  </table>
				    				      </td>
								      </tr> 
                              <tr>
                                   <td bgcolor="#FFFFFF">&nbsp;</td>
                              </tr>
                                
                                
                                
                                

                              <!-- [3.]  REASSESSMENTS TABLE -->
                              <tr>
				   					   <td align="center" bgcolor="#EEEEEE">
				      					
                                    <h2>Re-Assessments:</h2>
				         				
                                    <table cellpadding="5" cellspacing="0" border="1" width="100%" bordercolor="#ffffff" >
                                       <tr>
                                          <td  align="center"><strong>Fullname</strong></td>
					       					  	   <td  align="center"><strong>Consumer ID</strong></td>
					       						   <td  align="center"><strong>Date Taken</strong></td>
   				               				<td  align="center"><strong>Nursing Facility</strong></td>
					       						   <td  align="center"><strong>Assigned Coordinator</strong></td>
					    					      </tr>

					    					
                                      <?php //GET ASSESSED CONSUMER DATA
                                              
                                       while($reassessed_consumer_info = mysql_fetch_array($consumer_reassessments)){
   
                                        	$reassessed_consumer_id                =$reassessed_consumer_info['consumer_id'];
                                          $reassessed_consumer_fullname          =$reassessed_consumer_info['consumer_fullname'];
                                          $reassessed_consumer_date              =$reassessed_consumer_info['consumer_date'];
                                          $reassessed_consumer_nursing_facility  =$reassessed_consumer_info['consumer_nursing_facility'];
                                          $reassessed_consumer_coordinator       =$reassessed_consumer_info['consumer_coordinator']; 
 
                                      ?>									      
                                      <tr>
                                        <td align="center">
                                           <a href="show_profile.php?consumer_id=<?=$reassessed_consumer_id?>">
                                                <?=$reassessed_consumer_fullname?>
                                           </a>
                                        </td>
 
                                        <td class="style1" align="center" height="20px">
                                           <?=$reassessed_consumer_id?>
                                        </td>

      					        				 <td class="style1" align="center" height="20px">
                                           <?echo $reassessed_consumer_date?>
                                        </td>
                                        
                                        <td class="style1" align="center" height="20px">
                                           <?=$reassessed_consumer_nursing_facility?>
                                        </td>
                                        
                                        <td class="style1" align="center" height="20px">
                                           <?=$reassessed_consumer_coordinator?>
                                        </td>										
					     					     </tr>
					     					
                                     <?php
                                       }   //END REASSESSED DATABASE FETCH
                                    ?>
				       					</table>
				    				   </td>
								  </tr> 
                          <tr>
                             <td bgcolor="#FFFFFF">&nbsp;</td>
                          </tr>
                                
                                                          
                                      
                                    
                         <!-- [4.] RELOCATIONS PLANNED TABLE -->
                        <tr>
				    				<td align="center" bgcolor="#E3F6CE">
				       	
                        		<h2>Relocations Planned:</h2>
                      
                              <table cellpadding="5" cellspacing="0" border="1" width="100%" bordercolor="#ffffff" >
                                  <tr>
                                      <td  align="center"><strong>Fullname</strong></td>
					     					     <td  align="center"><strong>Consumer ID</strong></td>
					    	 			 	     <td  align="center"><strong>Planned On</strong></td>
   				             			  <td  align="center"><strong>Nursing Facility</strong></td>
					     					     <td  align="center"><strong>Assigned Coordinator</strong></td>
					  					    </tr>
  				         
                                  <?php
                                              
                                    while($relocations_planned_consumer_info = mysql_fetch_array($consumer_relocations_planned)){
   
                                       $relocation_planned_consumer_id                =$relocations_planned_consumer_info['consumer_id'];
                                       $relocation_planned_consumer_fullname          =$relocations_planned_consumer_info['consumer_fullname'];
                                       $relocation_planned_consumer_date              =$relocations_planned_consumer_info['consumer_date'];
                                       $relocation_planned_consumer_nursing_facility  =$relocations_planned_consumer_info['consumer_nursing_facility'];
                                       $relocation_planned_consumer_coordinator       =$relocations_planned_consumer_info['consumer_coordinator']; 
                                  ?>										      
                                         
                                  <tr>
                                     <td align="center">
                                        <a href="show_profile.php?consumer_id=<?=$relocation_planned_consumer_id?>">
                                            <?=$relocation_planned_consumer_fullname?>
                                        </a>
                                     </td>
   
                                     <td class="style1" align="center" height="20px">
                                        <?=$relocation_planned_consumer_id?>
                                     </td>
	
       		                         <td class="style1" align="center" height="20px">
                                        <?=$relocation_planned_consumer_date?>
                                     </td>
        
                                     <td class="style1" align="center" height="20px">
                                        <?=$relocation_planned_consumer_nursing_facility?>
                                     </td>
        
                                     <td class="style1" align="center" height="20px">
                                        <?=$relocation_planned_consumer_coordinator?>
                                     </td>											
				                     </tr>
                                 <?php
                                  }//END RELOCATION PLANNED DATABASE FETCH
                                ?>
			                   </table>
			                 </td>
			              </tr> 
          
                       <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                       </tr>
                                    
                                 
                            
                                    
                       <!-- [5.] RELOCATIONS COMPLETED TABLE -->
                       <tr>
	   	                	<td align="center" bgcolor="#EEEEEE">
			
                             	<h2>Relocations Completed:</h2>
			
                              <table cellpadding="5" cellspacing="0" border="1" width="100%" bordercolor="#ffffff" >
                             	   <tr>
                                    <td  align="center"><strong>Fullname</strong></td>
					                     <td  align="center"><strong>Consumer ID</strong></td>
					                     <td  align="center"><strong>Completed On</strong></td>
   				                     <td  align="center"><strong>From Nursing Facility</strong></td>
					                     <td  align="center"><strong>Assigned Coordinator</strong></td>
					                  </tr>
  				         
                                <?php //GET RELOCATED CONSUMER DATA
                                              
                                  while($relocated_consumer_info = mysql_fetch_array($consumer_relocations_completed)){
   
                                    	$relocated_consumer_id                =$relocated_consumer_info['consumer_id'];
                                       $relocated_consumer_fullname          =$relocated_consumer_info['consumer_fullname'];
                                       $relocated_consumer_date              =$relocated_consumer_info['consumer_date'];
                                       $relocated_consumer_nursing_facility  =$relocated_consumer_info['consumer_nursing_facility'];
                                       $relocated_consumer_coordinator       =$relocated_consumer_info['consumer_coordinator']; 
                                ?>									      
                                <tr>
                                   <td align="center">
                                       <a href="show_profile.php?consumer_id=<?=$relocated_consumer_id?>">
                                           <?=$relocated_consumer_fullname?>
                                       </a>
                                   </td>
          
                                   <td class="style1" align="center" height="20px">
                                       <?=$relocated_consumer_id?>
                                   </td>
			
           	        					  <td class="style1" align="center" height="20px">
                                       <?echo $relocated_consumer_date?>
                                   </td>
                                   
                                   <td class="style1" align="center" height="20px">
                                       <?=$relocated_consumer_nursing_facility?>
                                   </td>
                                   
                                   <td class="style1" align="center" height="20px">
                                       <?=$relocated_consumer_coordinator?>
                                   </td>										
					     					</tr>
					     					
                                 <?php
                                   }   //END REASSESSED DATABASE FETCH
                                 ?>
				       				</table>
				               </td>
				            </tr>                                     
				            <tr bgcolor="#FFFFFF">
				               <td align="center">&nbsp;</td>
				            </tr>
				    
				    
				            <!-- [6.]  FOLLOW_UP TABLE -->
                        <tr>
				   			   <td align="center" bgcolor="#EEEEEE">
				      			
                              <h2>Consumer Follow-Ups:</h2>
				         			
                              <table cellpadding="5" cellspacing="0" border="1" width="100%" bordercolor="#ffffff" >
                                 <tr>
                                    <td  align="center"><strong>Fullname</strong></td>
					       					<td  align="center"><strong>Consumer ID</strong></td>
					       					<td  align="center"><strong>Follow-Up Date</strong></td>
   				               		<td  align="center"><strong>Nursing Facility</strong></td>
					       					<td  align="center"><strong>Assigned Coordinator</strong></td>
					    					</tr>

					    					
                                 <?php //GET FOLLOWUP CONSUMER DATA
                                              
                                  while($followup_consumer_info = mysql_fetch_array($consumer_followup)){
   
                                     	$followup_consumer_id                =$followup_consumer_info['consumer_id'];
                                       $followup_consumer_fullname          =$followup_consumer_info['consumer_fullname'];
                                       $followup_consumer_date              =$followup_consumer_info['consumer_date'];
                                       $followup_consumer_nursing_facility  =$followup_consumer_info['consumer_nursing_facility'];
                                       $followup_consumer_coordinator       =$followup_consumer_info['consumer_coordinator']; 
                                 ?>									      
                                 <tr>
                                    <td align="center">
                                       <a href="show_profile.php?consumer_id=<?=$followup_consumer_id?>">
                                          <?=$followup_consumer_fullname?>
                                       </a>
                                    </td>
  
                                    <td class="style1" align="center" height="20px">
                                       <?=$followup_consumer_id?>
                                    </td>

					        					<td class="style1" align="center" height="20px">
                                       <?echo $followup_consumer_date?>
                                    </td>

                                    <td class="style1" align="center" height="20px">
                                       <?=$followup_consumer_nursing_facility?>
                                    </td>
 
                                    <td class="style1" align="center" height="20px">
                                       <?=$followup_consumer_coordinator?>
                                    </td>											
					     					</tr>
					     					
                                <?php
                                 }   //END FOLLOWUP DATABASE FETCH
                                ?>
 		       					   </table>
				    				</td>
								</tr> 
                        <tr>
                           <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                                
                                
				            <!-- [7.]  NO LONGER IN HBC TABLE -->
                        <tr>
				   			   <td align="center" bgcolor="#EEEEEE">
				      			
                               <h2>Consumers No Longer in HBC:</h2>
				         			 
                               <table cellpadding="5" cellspacing="0" border="1" width="100%" bordercolor="#ffffff" >
                                  <tr>
                                     <td  align="center"><strong>Fullname</strong></td>
					       					 <td  align="center"><strong>Consumer ID</strong></td>
					       					 <td  align="center"><strong>Drop Date</strong></td>
   				               		 <td  align="center"><strong>Nursing Facility</strong></td>
					       					 <td  align="center"><strong>Assigned Coordinator</strong></td>
					    					 </tr>

					    					
                                 <?php //GET NO LONGER IN HBC CONSUMER DATA
                                              
                                   while($not_in_hbc_consumer_info = mysql_fetch_array($consumer_not_in_hbc)){
   
                                     	$not_in_hbc_consumer_id                =$not_in_hbc_consumer_info['consumer_id'];
                                       $not_in_hbc_consumer_fullname          =$not_in_hbc_consumer_info['consumer_fullname'];
                                       $not_in_hbc_consumer_date              =$not_in_hbc_consumer_info['consumer_date'];
                                       $not_in_hbc_consumer_nursing_facility  =$not_in_hbc_consumer_info['consumer_nursing_facility'];
                                       $not_in_hbc_consumer_coordinator       =$not_in_hbc_consumer_info['consumer_coordinator']; 
                                 ?>									      
                                 <tr>
                                    <td align="center">
                                       <a href="show_profile.php?consumer_id=<?=$not_in_hbc_consumer_id?>">
                                           <?=$not_in_hbc_consumer_fullname?>
                                       </a>
                                    </td>

                                    <td class="style1" align="center" height="20px">
                                        <?=$not_in_hbc_consumer_id?>
                                    </td>

					        					<td class="style1" align="center" height="20px">
                                        <?echo $not_in_hbc_consumer_date?>
                                    </td>

                                    <td class="style1" align="center" height="20px">
                                        <?=$not_in_hbc_consumer_nursing_facility?>
                                    </td>

                                    <td class="style1" align="center" height="20px">
                                        <?=$not_in_hbc_consumer_coordinator?>
                                    </td>											
					     					</tr>
					     					
                                 <?php
                                   }   //END NOT IN HBC DATABASE FETCH
                                 ?>
			       					</table>
				    				</td>
								</tr> 
                        <tr>
                           <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>

				     		   </tbody>
			            </form>
		             </table>
		          </td>
	          </tr>
            </tbody>
           </table>
         </td>
     </tr>
  </tbody>
</table>

<!-- FOOTER -->
<div class="footer">
			<p>| <a href="#">RSS Feed</a> | 
         <a href="#">Contact</a> | 
         <a href="#">Disclaimer</a> | 
         <br />
			&copy; COPYLEFT 2007 ARCIL,Inc. All technology used for this site is licensed under <a href="http://www.gnu.org/copyleft/gpl.html" title="Find out more about GPL">The GPL</a></p>
		</div>
 </div><!-- END CONTENT DIV -->
</body>
</html>

